<?php

namespace common\repositories\common;

use common\repositories\BaseRepository;
use Yii;
use common\entities\common\MyscrmOrganizationToAuthorizeEntity;

class OrganizationToAuthorizeRepository extends BaseRepository {

   /**
    * 根据租户id,获取租户下某个合同的授权信息列表
    * @param string $organizationId 租户id
    * @param string $contractId 合同id
    * @return array
    */
	public static function getAuthorizeListByOrganizationId($organizationId,$contractId) {
		return MyscrmOrganizationToAuthorizeEntity::getAuthorizeListByOrganizationId($organizationId,$contractId);
	}

}
